#include "Keypad.h"

long Keypad::KEYPAD_NORMAL_DELAY = 30;
long Keypad::KEYPAD_NORMAL2_DELAY = 30;
long Keypad::KEYPAD_WINDOWS_DELAY = 10;
long Keypad::KEYPAD_DX_DELAY = 50;

Keypad::Keypad() : _hwnd(0), _mode(0)
{
}
//
//
Keypad::~Keypad()
{
    UnBind();
}
//
// long Keypad::Bind(HWND hwnd, long mode) {
//	if (!::IsWindow(hwnd))
//		return 0;
//	_hwnd = hwnd;
//	_mode = mode;
//	return 1;
//}
//
long Keypad::UnBind()
{
    _hwnd = 0;
    _mode = 0;
    return 1;
}
